﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Ershou.BLL;

public partial class spck2 : System.Web.UI.Page
{
    public sp sp1 = new sp();
    protected void Page_Load(object sender, EventArgs e)
    {
        Label3.Text = Request.QueryString["ID"];
        Label5.Text = sp1.select3(int.Parse(Request.QueryString["ID"]));
    }

    protected void Button2_Click(object sender, EventArgs e)
    {
        //sp1.Insert(Convert.ToInt32(Session["CustomerId"]), int.Parse(Request.QueryString["ID"]),int.Parse(Label5.Text.Split('元')[0]));
        Session["monkey"] = int.Parse(Label5.Text.Split('元')[0]);
        Response.Redirect("~/jiaona.aspx?ID="+ Request.QueryString["ID"]);
    }
}